package com.lizhen.createpattern.prototypepattern.impl;

import com.lizhen.createpattern.prototypepattern.Shape;

public class Rectangle extends Shape {
    public Rectangle() {
        this.type = "Rectangle";
    }

    public void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
}
